#!/bin/sh

ver_old=$2

if [ "$(apk version -t "$ver_old" '0.23-r3')" = '<' ]; then
   addgroup -S blocky 2>/dev/null
   adduser -S -D -H -h /var/log/blocky -s /sbin/nologin -G blocky -g blocky blocky 2>/dev/null
fi

exit 0
